package com.techsoul.module.system.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 角色 保存参数
 * 
 * @author liuen
 * @date 2020-12-04
 */
@Data
@Accessors(chain = true)
public class RoleSaveParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("组织ID列表")
    private List<String> orgIds;

    @ApiModelProperty("菜单ID列表")
    private List<String> menuIds;

    @ApiModelProperty("ID（系统自动产生）")
    private String id;

    @ApiModelProperty("角色编号")
    private String roleCode;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("角色全称")
    private String roleFullName;

    @ApiModelProperty("角色类型，数据字典sys_role_type")
    private String roleType;

    @ApiModelProperty("数据权限类型，数据字典sys_data_scope_type")
    private String dataScopeType;

    @ApiModelProperty("排序")
    private Long sort;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

}
